﻿using Validate.Library;

namespace Authority.Model
{
    /// <summary>
    /// 用户信息修改请求实体
    /// </summary>
    public class UserInfoModifyRequest
    {
        /// <summary>
        /// 登录账号
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 50, Description = "登录账号")]
        public string LoginName
        {
            get; set;
        }

        /// <summary>
        /// 联系人
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 50, Description = "联系人")]
        public string UserName
        {
            get; set;
        }


        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone
        {
            get; set;
        }
        

        /// <summary>
        /// 1男 2女 0未知 
        /// </summary>
        public int Sex
        {
            get; set;
        }

        /// <summary>
        /// 头像地址
        /// </summary>
        public string PicUrl
        {
            get; set;
        }

        
    }
}
